package com.ice.ubt.event;

import com.google.gson.Gson;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/*
 * 类描述：
 * 伟大的创建人：ice   
 * 不可相信的创建时间：17/6/13 上午10:37 
 * 爱信不信的修改时间：17/6/13 上午10:37 
 * @version
 */
@Entity
public class UBTEvent {
    @Id
    public Long id;
    public String object;
    public String action;
    public long ts;
    public String obj_name;
    public String page;
    public String action_value;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    @Generated(hash = 690324310)
    public UBTEvent(Long id, String object, String action, long ts, String obj_name,
            String page, String action_value) {
        this.id = id;
        this.object = object;
        this.action = action;
        this.ts = ts;
        this.obj_name = obj_name;
        this.page = page;
        this.action_value = action_value;
    }
    @Generated(hash = 1183093173)
    public UBTEvent() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getObject() {
        return this.object;
    }
    public void setObject(String object) {
        this.object = object;
    }
    public String getAction() {
        return this.action;
    }
    public void setAction(String action) {
        this.action = action;
    }
    public long getTs() {
        return this.ts;
    }
    public void setTs(long ts) {
        this.ts = ts;
    }
    public String getObj_name() {
        return this.obj_name;
    }
    public void setObj_name(String obj_name) {
        this.obj_name = obj_name;
    }
    public String getPage() {
        return this.page;
    }
    public void setPage(String page) {
        this.page = page;
    }
    public String getAction_value() {
        return this.action_value;
    }
    public void setAction_value(String action_value) {
        this.action_value = action_value;
    }
  
}